<!--{eval require keke_tpl_class::template(SKIN_PATH."/space/{$type}_nav")}--> 
<div class="main_con clearfix">
            
            	<h1 class="font16b c000  mt_20 s_l_title">{$_lang['company_statistic']}</h1>
                
                
                <div class="grid_5 alpha suffix_1 ">
                <!--sta_num-->
                	<div class="sta_num_list ">
                    	<p>{$_lang['grade']} <span>$credit_level['pic']</span></p>
                        <p>{$_lang['credit_value']} <span>$member_info['seller_credit']</span><b>({$_lang['purchase_commodity_number']} $buy_service_num )</b></p>
                        <p>{$_lang['ability_value']} <span>$member_info['buyer_credit']</span><b>({$_lang['sale_goods_number']} $pub_service_num )</b></p>
                     	<p>{$_lang['favorable_rate']} <span>{if $member_info['buyer_total_num']}<!--{eval echo number_format($member_info['buyer_good_num']/$member_info['buyer_total_num'],2)*100}-->{else}0{/if}%</span><b></b></p>
                    </div>
              
				
				<!--end sta_num-->
                          {loop $saler_aid $k $v}
                                <div class="border_b_c clearfix">
                                    
                                        <p class="mar0">
                                            {$v['aid_name']}
                                            <em class="cc00 ml_5">{$v['avg']}{$_lang['fen']}</em>
                                        </p>                                       
                                            <div class="star">
                                                <!--{eval echo keke_user_mark_class::gen_star2($v['avg']);}-->
												<span class="fl_r">{$_lang['total']}{$v['count']}{$_lang['people']}</span>
                                            </div>
                                       
                                   
                                </div>
                                {/loop}<!--辅助评价end-->
                       
               </div> 
				
				<div class="grid_16">
				
                <div class="pt_10 clearfix"><!--换肤-->
                    	<!-- 筛选条件区域 -->
                    	<form action="" method="post" name='space_sx'>
                    	<div class="tab">
                    		<a {if $come=='gz'||empty($come)} class='selected'{/if} href="$url&come=gz"><span>$_lang['come_form_gz']</span><b class="arrow arrow_b" style="display:inline-block"></b></a>
	                    	<a {if $come=='witkey'} class='selected'{/if} href="$url&come=witkey">
	                    		<span>{if $uid == $member_id} $_lang['come_form_yourself'] {else} $_lang['come_form_witkey'] {/if}</span>
								<b class="arrow arrow_b" style="display:inline-block"></b></a>
	                    	
						</div>
						<div class="border_t_c bar">
	                    	<ul class="sort ">
	                    		<li><label><input type="radio" value="all" name="type" checked>$_lang['all']</label></li>
	                    		<li><label><input type="radio" value="good" name="type">$_lang['good']</label></li>
	                    		<li><label><input type="radio" value="middle" name="type">$_lang['middle']</label></li>
	                    		<li><label><input type="radio" value="bad" name="type">$_lang['bad']</label></li>
	                    	</ul>
	                    	
                    	</div>
                    	</form>
                </div>
                
                
               <div id='space_sx_list' >
                         
			         
			                <div id="ajax_dom" class="data_list">
			                	<div class="content">
			               <table class="data_table " cellpadding="0" cellspacing="0">
			                <thead>
			                  <tr>
                                   <th width="30%">
                                       $_lang['pj_name']
                                   </th>
                                   <th width="">
                                       $_lang['pj']
                                   </th>
                                   <th width="15%">
                                       {if $come=='gz'||empty($come)}
                                       $_lang['gz']
                                       {else}
                                       $_lang['witkey']
                                       {/if}
                                   </th>
                               </tr>
	                            </thead>
								<tbody >
	                        	{if !empty($result)}
	                        	{loop $result $k $v}
			                        <tr>
			                        	<td>{if $v['task_title']}{$v['task_title']}{else}{$v['title']}{/if}</td>
			                        	<td>{if $v['mark_status']=='1'}{$_lang['praise']}
	                                            <img src="resource/img/ico/ico_mark_{$v['mark_status']}.gif" >
	                                            {elseif $v['mark_status']=='2'}{$_lang['the_assessment']}
	                                            <img src="resource/img/ico/ico_mark_{$v['mark_status']}.gif" >
	                                            {elseif $v['mark_status']=='3'}{$_lang['negative_feedback']}
	                                            <img src="resource/img/ico/ico_mark_{$v['mark_status']}.gif" >
	                                            {/if}
	                                             {if !empty($v['mark_content'])}
	                                             {$v['mark_content']}<p><!--{eval echo date('Y-m-d H:i:s',$v['mark_time'])}--></p> 
	                                    		{/if}
	                                    </td>
			                        	<td>
			                        		<div>{$v['by_username']}</div>
										<!--{eval $credit=unserialize($v['seller_level']);}-->{$credit['pic']}
										</td>
			                        </tr>
			                        {/loop}
			                        {else}
			                        	<tr><td colspan="3" class="t_c">$_lang['no_data']</td></tr>
			                        {/if}
								 
 
		                        
		                        
	                          </tbody>
                        	</table>
							<div class="page ml_30 mr_30 fl_r">
                                		<p class="clearfix">
                                    		{$pages['page']}
                                		</p>
                        			</div>
							</div>
                        </div>
                     </div>
                
				
				
				<div class="clear"></div>
             </div>
         
                
            </div>
            <!--end wrapper_con-->
            
            <div class="clear"></div>
</div>			 
   <script type="text/javascript">
   //In('rating','metaData','css_rating');
   $(function(){
		$(':input[type="radio"]').click(function(){
			var sx = $(this).attr('value');
			var url =$('.come_type').attr('href');
			$.post(url,{sx:sx,isajax:true},function(data){
				if(data){
					$('#space_sx_list').find('#ajax_dom:visible .content').html(data);
				}else{
					$('#space_sx_list').find('#ajax_dom:visible .content').html("<tr><td colspan=\"3\">$_lang['no_data']</td></tr>");
				}
			},'html')
		})
	})
</script>
<!--{template footer}-->

